<?
  include ("../../admin/config/cfg.php");
  global $cwUserInfo;
  
  if((is_array($cwUserInfo))&&(($cwUserInfo["type"]==USER_SUPERUSER)||($cwUserInfo["type"]==USER_CONFIGURATOR))){
    header("location: ./application");
  }else{
    header("location: ../");
  }
  exit; 

?>
